<%--数据字典--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!-- 导入头部top文件 start -->
<%@include file="../common/header.jsp" %>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInUp">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>职位列表</h5>

                    <div class="ibox-tools">
                        <a href="/job/add" class="btn btn-primary btn-xs">创建职位</a>
                    </div>
                </div>

                <div class="ibox-content">
                    <div class="list-view" id="listview">
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="/static/js/jquery.min.js?v=2.1.4"></script>
<script src="/static/js/bootstrap.min.js?v=3.3.5"></script>
<script src="/static/js/content.min.js?v=1.0.0"></script>
<script src="/static/js/listview.js?v=1.0.0"></script>
<script src="/static/js/plugins/dialog/dialog-min.js?v=1.0.0"></script>
<script src="/static/js/plugins/dialog/dialog-plus-min.js?v=1.0.0"></script>
<script>
    (function () {
        $("#listview").listview({
            url: "/job/json",
            editUrl: "/job/edit",
            deleteUrl: "/job/delete",
            viewUrl:"/job/view",
            showTools: true,
            editStatus: true,
            showView: true,
            showDelete: true,
            fieldInfo: [
                {"field": "no", "title": "序号"},
                {"field": "jobNum", "title": "职位编号"},
                {"field": "name", "title": "职位名称"},
                {"field": "keyword", "title": "职位关键字"},
                {"field": "jobTypeName", "title": "职位类别"},
                {"field": "personCount", "title": "招聘人数"},
                {"field": "cityName", "title": "发布城市"},
                {"field": "status", "title": "状态",type:"data",data:{1:"发布中",2:"发布",3:"下线"}},//1 发布中  2 发布 3下线
                {"field": "workExperienceName", "title": "工作经验"},
                {"field": "createDate", "title": "创建时间"},
                {"field": "updateDate", "title": "更新时间"},
                {"field": "creatorName", "title": "创建人"},
            ]
        });
    })(jQuery)
</script>
</body>
</html>
